@import '~ant-design-vue/es/style/themes/default.less';

html,
body,
#app, #root {
  height: 100%;
}

.colorWeak {
  filter: invert(80%);
}

.ant-layout.layout-basic {
  height: 100vh;
  min-height: 100vh;
}

canvas {
  display: block;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul,
ol {
  list-style: none;
}

// 数据列表 样式
.table-alert {
  margin-bottom: 16px;
}
// 数据列表 操作
.table-operator {
  margin-bottom: 18px;

  button {
    margin-right: 8px;
  }
}
.ant-input-number{
  width: 100%;
}
// .ant-upload{
//   display: inline-block!important;
// }
.ant-upload-select-picture-card i.anticon {
  font-size: 28px;
  color: #999;
}
// 数据列表 搜索条件
.table-page-search-wrapper {

  .ant-form-inline {
    .ant-form-item {
      display: flex;
      margin-bottom: 24px!important;
      margin-right: 0;

      .ant-form-item-control-wrapper {
        flex: 1 1;
        display: inline-block;
        vertical-align: middle;
      }

      > .ant-form-item-label {
        line-height: 32px;
        padding-right: 8px;
        width: auto;
      }
      .ant-form-item-control {
        height: 32px;
        line-height: 32px;
      }
    }
  }

  .table-page-search-submitButtons {
    display: block;
    margin-bottom: 24px;
    white-space: nowrap;
  }
}
.ant-modal-footer{
  >div{
    text-align: center;
  }
}
.ant-calendar-picker{
  width: 100%;
}

@media (max-width: @screen-xs) {
  .ant-table {
    width: 100%;
    overflow-x: auto;
    &-thead > tr,
    &-tbody > tr {
      > th,
      > td {
        white-space: pre;
        > span {
          display: block;
        }
      }
    }
  }
}

// my-global-style
.primary-border-btn {
  color: @primary-color!important;
  border-color: @primary-color!important;
  &.active{
    color: white !important;
    background-color: @primary-color!important;
  }
}
.table-title {
  color: rgba(0, 0, 0, 0.85);
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 16px;
}
.ant-descriptions-title{
  font-size: 18px;
}
.table-title-container{
  display: flex;
  justify-content: space-between;
}

.primary-color{
  color: @primary-color;
}

.store-btns {
  display: flex;
  .store-btn {
    background: #18cfc8;
    border-color: #18cfc8;
    margin-right: 8px;
  }
  .store-scan-btn {
    margin-left: auto;
    margin-right: 20px;
  }
}